load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")

cc_library(
    name = "command",
    srcs = ["Command.cc"],
    hdrs = ["Command.h"],
)

cc_test(
    name = "test",
    srcs = ["Command-test.cc"],
    copts = ["-Iexternal/gtest/include"],
    deps = [
        "@gtest//:gtest_main",
        ":command",
    ],
)
